package com.fjec.activity.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjec.activity.entity.BizUserGiftChangeRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 008.用户礼物变化记录表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
public interface BizUserGiftChangeRecordMapper extends BaseMapper<BizUserGiftChangeRecord> {

    List<Map<String, Object>> changeRecords(@Param("userIds") List<Long> userIds,
                                            @Param("opeId") Long opeId,
                                            @Param("busiType") Integer busiType,
                                            @Param("opeType") Integer opeType,
                                            @Param("startTime") String startTime,
                                            @Param("endTime") String endTime,
                                            Page page);
}
